package com.deruan.hotcore.base.common.service;

import java.util.Date;
import java.util.List;

import com.deruan.hotcore.base.common.bean.ResourceBean;
import com.deruan.hotcore.common.exception.AccessDeniedException;

public interface ResourceService extends EntityService<ResourceBean, Integer>
{
	public List<ResourceBean> findResourceByContactId(Integer contactId) throws AccessDeniedException;

	public List<ResourceBean> searchAllResourceByContactList(List<Integer> contactIdList) throws AccessDeniedException;

	public List<ResourceBean> searchAllResourceByContactList(List<Integer> contactIdList, 
            String resourceFrom, String note, String title, String keyword) throws AccessDeniedException;
	
	public List<ResourceBean> searchAllResourceByContactList(List<Integer> contactIdList, Date lastFetchDate)
	throws AccessDeniedException;

}
